package com.example.week14.entity;

public class Student {

    private String sno;
    private String name;
    private String age;
    private String sex;
    private String tel;
    private String photo;

    // 添加构造函数
    public Student(String sno, String name, String age, String sex, String tel, String photo) {
        this.sno = sno;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.tel = tel;
        this.photo = photo;
    }

    // 添加 getter 方法
    public String getSno() {
        return sno;
    }

    public String getName() {
        return name;
    }

    public String getAge() {
        return age;
    }

    public String getSex() {
        return sex;
    }

    public String getTel() {
        return tel;
    }

    public String getPhoto() {
        return photo;
    }
}
